import zrender from 'zrender'
const img = require('../img/github.png')
export default () => {
  console.log('start running...')
  console.log(zrender)
  var zr = zrender.init(document.getElementById('main'))
  var rect = new zrender.Rect({
    shape: {
      x: 100,
      y: 100,
      width: 100,
      height: 100,
      r: [4, 6, 8, 10]
    },
    style: {
      fill: 'none',
      stroke: 'red',
      lineWidth: 4
    }
  })
  zr.add(rect)
}